from django.forms import ModelForm
import autocomplete_light
from models import LineaInvestigacion



class LineaInvestigacionForm(ModelForm):
    class Meta:
        widgets = autocomplete_light.get_widgets_dict(LineaInvestigacion)
        model = LineaInvestigacion
        
    def __init__(self, *args, **kw):
        super(LineaInvestigacionForm, self).__init__(*args, **kw)
        self.fields['dato'].help_text = ''